package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.StorageRecord;
import com.ktjiaoyu.entity.SysUser;
import com.ktjiaoyu.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface StorageRecordService {
    /**
     * 分页查询记录表
     */
    public Page<StorageRecord> getPage(StorageRecord storageRecord, Integer pageNo, Integer pageSize) throws Exception;

    /**
     * 新增或修改
     */
    public boolean save(StorageRecord storageRecord) throws Exception;
    /**
     * 根据id查询
     */
    public StorageRecord getById(Integer id) throws Exception;

    StorageRecord getBySrCode(String srCode);

     boolean  deleteById(Integer id);
}
